package com.guchenbo.study.xml.app1;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Author guchenbo
 * @Date 2019/4/22.
 */
public class AppBoot {

    public static void main(String[] args) {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("app1.xml");
//        context.getBeanFactory().addBeanPostProcessor();
        Foo foo = context.getBean("foo", Foo.class);
        foo.say();

        context.getBean("foo1", Foo1.class);
    }

}
